<table width="100%">
	<tr>
		<td width="15%"><?php echo CHtml::image(Yii::app()->request->baseUrl.'/images/logo.png'); ?></td>
		<td width="85%">
		<h4><strong>PT. ANUGERAH BERSAMA BERKAH ABADI</strong></h4>
		<h4><strong>RENEWAL LIST</strong></h4>
		<h4><strong>AS OF <?php echo $month." ".$tahun; ?> </strong></h4>
		</td>
	</tr>
</table>


<table  border="1">
  <tr>
    <td align="center"><strong>Nama Klien</strong></td>
    <td align="center"><strong>Insurance Type</strong></td>
    <td align="center"><strong>No Polis</strong></td>
    <td align="center"><strong>Periode Polis</strong></td>
    <td align="center"><strong>Currency</strong></td>
    <td align="center"><strong>Gross Premi</strong></td>
    <td align="center"><strong>Brokerage</strong></td>
  </tr>
 <?php 
  foreach($data as $row){
  ?>
  <tr>
	<td><?=$row['name']?></td>
	<td><?=$row['jns_insurance']?></td>
	<td><?=$row['policy_no']?></td>
	<td><?=$row['periode']?></td>
	<td><?=$row['jns_matauang']?></td>
	<td align="right"><?=$row['gross_premi']?></td>
	<td align="right"><?=$row['brokerage']?></td>
  </tr>
  <?php } ?>
 
</table>